import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from "../views/Login.vue"
import Home from "../views/HomeView.vue"

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'login',
        component: () => import('../views/Login.vue')
    },
    {
        path: '/HomeView',
        name: 'Home',
        component: () => import('../views/HomeView.vue')
    }
]
const router = new VueRouter({
    routes
})

export default router
